package com.weilan.blog.admin.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.weilan.blog.base.entity.SuperEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * @description:
 * @author: 孙 峰
 * @time: 2020/9/23 13:33
 */
@Data
@TableName("tb_blog_category")
public class BlogCategory extends SuperEntity<BlogCategory> implements Serializable {



    private String categoryName;

    /**
     * 分类介绍
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String content;

    /**
     * 排序字段，数值越大，越靠前
     */
    private Integer sort;

    /**
     * 点击数
     */
    private Integer clickCount;

    /**
     * 无参构造方法
     */
    public BlogCategory() {

    }
}
